@media (min-width: 768px) and (max-width: 1200px) {
    h1{
        font-size: 42px;
    }
    h2{
        font-size: 36px;
    }
    .section-advantages .advantages-wrapper{
        flex-wrap: wrap;
        justify-content: center;
    }
    .section-advantages .advantages-item{
        width: 387px;
        height: 184px;
        margin: 10px;
    }
    .section-advantages .advantages{
        bottom: -278px;
    }
    .section-whatis-amakids {
        padding: 360px 0 90px 0;
    }
    .whatis-info .counter span:first-child{
        font-size: 52px;
    }
    .whatis-info {
        margin-left: 75px;
    }
    .whatis-text {
        width: 520px;
    }
    .benefits {
        justify-content: center;
        margin-bottom: 48px;
        flex-wrap: wrap;
    }
    .benefit-item{
        margin: 10px;
    }
    .section-for-partner .container-wrapper:after{
        left: calc(100% - 270px);
    }
    .for-who-list{
        flex-wrap: wrap;
        justify-content: center;
    }
    .for-who-item{
        margin: 0 10px 110px 10px;
    }
    .section-for-who {
        padding: 180px 0 70px 0;
    }
    .section-how-to .container-wrapper:after{
        left: calc(100% - 450px);
    }
    .section-how-to{
        overflow: hidden;
    }
    .interior-slider-wrapper{
        width: 470px;
    }
    .invest-list{
        flex-wrap: wrap;
        justify-content: center;
    }
    .invest-item{
        margin: 10px;
    }
    .list-packages{
        flex-wrap: wrap;
        justify-content: center;
    }
    .package-item{
        width: 287px;
        margin: 15px;
    }
    .list-partners{
        justify-content: center
    }
    .list-partners img{
        margin: 10px;
    }
    .reviews-slider-item-wrapper{
        width: 860px;
        padding: 32px 64px;
    }

    .reviews-slider-container .slick-dots{
        width: 940px;
    }
    .section-feedback{
        overflow: hidden;
    }
    .section-feedback:after{
        left: calc(100% - 440px);
    }
    .section-reviews{
        overflow: hidden;
    }
    .footer-column:nth-child(2){
        margin-left: 50px;
    }
    .interior-slider-wrapper {
        width: 360px;
    }
    .reviews-slider-item-wrapper {
        width: 640px;
    }
    .reviews-slider-container .slick-dots {
        width: 720px;
    }
    .section-feedback:after{
        display: none;
    }
    .under-footer{
        flex-wrap: wrap;
        justify-content: flex-start;
    }
    .footer-column:last-child {
        margin-left: 0;
    }
}
@media (min-width: 768px) and (max-width: 991px) {
    h1{
        font-size: 38px;
    }
    h2{
        font-size: 32px;
    }
    .section p{
        font-size: 16px;
    }
    .homescreen-text {
        max-width: 515px;
    }
    .section-advantages .advantages-item{
        width: 315px;
    }
    .whatis-text{
        width: 430px;
    }
    .whatis-info{
        margin-left: 25px;
    }
    .whatis-info .counter span:first-child{
        font-size: 42px;
    }
    .whatis-info .counter{
        margin-bottom: 36px;
    }
    .section-for-partner .container-wrapper:after{
        left: calc(100% - 140px);
    }
    .course-item .course-text{
        width: 470px;
    }
    .course-item .course-image{
        bottom: -20px;
    }
    .course-item{
        height: 250px;
    }
    .section-how-to .container-wrapper:after{
        left: calc(100% - 300px);
    }
}
@media (max-width: 767px) {
    main{
        overflow: hidden;
    }
    .compensate-for-scrollbar{
        margin-right: 0 !important;
    }
    .container{
        max-width: 567px;
        padding: 0;
    }
    header{
        padding: 27px 0;
    }
    .header-section{
        display: none;
    }
    .header-logo p{
        display: none;
    }
    .header-logo > a{
        width: 135px;
        height: 73px;
    }
    .header-logo{
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }
    h1,h2{
        font-size: 24px;
        line-height: 140%;
        margin: 0 0 16px 0;
    }
    .section p{
        font-size: 16px;
        margin: 0 0 24px 0;
    }
    .gamburger{
        display: block;
        width: 32px;
        height: 26px;
        background: url('/img/franchise/gamburger.png') no-repeat;
        background-size: contain;
    }
    .header-gamburger-menu{
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        z-index: 1000;
        background: white;
        box-shadow: 0px 0px 15px #8080809e;
    }
    .header-gamburger-menu-wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
    }
    .header-mobile-logo{
        width: 134px;
        height: 22px;
        position: relative;
    }
    .header-mobile-logo img{
        position: absolute;
        left: 50%;
        top: 50%;
        width: 100%;
        transform: translate(-50%, -50%);
    }
    .header-mobile-middle{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 30px;
    }
    .header-mobile-middle .href-country-info span{
        font-size: 16px;
    }
    .header-mobile-middle .href-country-info img{
        width: 31px;
        height: 32px;
    }
    .button-request{
        font-weight: 500;
        padding: 16px 0;
        width: 100%;
    }
    .section-homescreen{
        padding: 48px 0 210px 0;
        min-height: auto;
    }
    .section-homescreen:after {
        left: 50%;
        transform: translate(-50%);
        bottom: 0;
        width: 320px;
        height: 226px;
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }
    .section-homescreen .button-request{
        display: none;
    }
    .section-advantages .advantages{
        position: relative;
        bottom: auto;
    }
    .section-advantages .advantages-wrapper{
        flex-direction: column;
    }

    .section-advantages .advantages-item{
        width: 320px;
        height: 128px;
        padding: 38px 20px;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        margin-bottom: 16px;
    }
    .section-advantages .advantages-item img{
        width: 40px;
    }
    .section-advantages .advantages-item h4{
        font-size: 16px;
        margin: 0 0 0 20px;
    }
    .section-advantages{
        padding: 24px 0 64px 0;
    }

    .section-whatis-amakids{
        padding: 64px 0;
    }
    .section-advantages .button-request{
        display: block;
        margin: 32px auto 0 auto;
    }
    .section-whatis-amakids .container-wrapper{
        flex-direction: column;
    }
    .whatis-text{
        width: 100%;
    }
    .whatis-info{
        margin: 0;
    }
    .whatis-info .counter span:first-child{
        font-size: 48px;
        margin-bottom: 4px;
    }
    .whatis-info .counter span:nth-child(2){
        font-size: 16px;
    }
    .whatis-text .button-request{
        display: none;
    }
    .whatis-info .counter{
        margin-bottom: 36px;
    }
    .whatis-info .button-request{
        display: block;
        margin-top: 48px;
    }
    .section-benefits{
        padding: 64px 0 128px 0;
    }
    .benefits.slick-slider{
        width: 100vw;
        margin-bottom: 80px;
        position: relative;
        left: 0; /*-30px*/
    }
    .benefit-item{
        max-width: 300px;
        height: 585px;
        margin-right: 16px;
        box-shadow: none;
    }
    .benefit-item:last-child{
        margin-right: 0;
    }
    .benefit-item img {
        height: 94px;
    }
    .benefit-inside {
        padding: 48px 20px 20px 20px;
    }
    .benefit-item h3 {
        font-size: 20px;
    }
    .benefit-item ul li{
        font-size: 16px;
    }
    .section-benefits h2{
        margin-bottom: 36px;
        text-align: left;
    }
    .slick-dots li button{
        width: 12px;
        height: 7px;
    }
    .slick-dots li{
        width: 12px;
        height: 7px;
    }
    .slick-dots li button:before{
        background: #E2E2E2;
        border-radius: 5px;
        width: 12px;
        height: 7px;
        content: '';
        opacity: 1;
    }
    .slick-dots li.slick-active button:before {
        opacity: 1;
        background: #F50882;
    }
    .slick-dots{
        bottom: -30px;
        width: 300px;
    }
    .section-for-partner{
        padding: 48px 0 0 0;
    }
    .section-for-partner ul{
        padding: 0 0 16px 43px;
        margin: 0;
    }
    .partner-wrapper-section{
        margin-top: 420px;
        background: #fff;
        width: 100vw;
        padding: 36px 20px 128px 20px;
        position: relative;
        left: 50%;
        transform: translate(-50%);
    }
    .section-for-partner .container-wrapper:after{
        width: 320px;
        height: 413px;
        bottom: auto;
        top: 154px;
        left: 0;
        right: auto;
    }
    .section-for-partner ul li{
        font-size: 16px;
        line-height: 150%;
    }
    .courses-list{
        flex-direction: row;
    }
    .courses-list .course-item{
        width: 287px;
        height: 526px;
        margin-right: 16px;
        display: flex !important;
        flex-direction: column-reverse;
        padding: 20px;
        justify-content: flex-end;
        box-shadow: none;
    }
    .course-item:hover{
        box-shadow: none;
    }
    .courses-list.slick-slider {
        width: 100vw;
        margin-bottom: 80px;
        position: relative;
        left: 0;
    }
    .course-item .course-image{
        width: 72px;
        height: 80px;
        background-size: contain;
        background-repeat: no-repeat;
        bottom: auto;
        margin-bottom: 32px;
    }
    .course-item .course-image img{
        display: none;
    }
    .course-item .course-image.ma{
        background-image: url('/img/franchise/detail-subjects/ma.png');
    }
    .course-item .course-image.amm{
        background-image: url('/img/franchise/detail-subjects/amm.png');
    }
    .course-item .course-image.eng{
        background-image: url('/img/franchise/detail-subjects/eng.png');
    }
    .course-item .course-image.rdc{
        background-image: url('/img/franchise/detail-subjects/lib.png');
    }
    .course-item .course-image.mao{
        background-image: url('/img/franchise/detail-subjects/mao.png');
    }
    .course-item .course-image.mto{
        background-image: url('/img/franchise/detail-subjects/mto.png');
    }
    .course-item .course-image.mem{
        background-image: url('/img/franchise/detail-subjects/mem.png');
    }
    .course-item .course-image.spc{
        background-image: url('/img/franchise/detail-subjects/spc.png');
    }
    .course-item .course-image.psc{
        background-image: url('/img/franchise/detail-subjects/pcs.png');
    }
    .course-item .course-text{
        width: 100%;
    }
    .course-item h4{
        font-size: 20px;
        line-height: 150%
    }
    .course-item h4 span{
        font-size: 18px;
    }
    .button-detail-subject{
        display: inline-block;
        font-weight: 500;
        font-size: 18px;
        line-height: 120%;
        color: #F50882;
        margin-top: auto;
    }
    .section-products{
        padding: 64px 0;
    }
    .section-products h2{
        margin: 0 0 24px 0;
    }
    .section-products h3{
        font-size: 18px;
        margin: 0 0 16px 0;
    }
    .section-for-who{
        padding: 128px 0;
    }
    .for-who-list{
        flex-direction: column;
        margin: 120px 0 0 0;
        align-items: center;
    }
    .for-who-item{
        width: 320px;
        height: 693px;
        margin-bottom: 134px;
    }
    .for-who-item:last-child{
        margin-bottom: 0;
    }
    .for-who-image{
        height: 121px;
    }
    .for-who-image img{
        height: 191px;
    }
    .for-who-body{
        padding: 48px 20px;
    }
    .for-who-body h3 {
        font-size: 20px;
        margin: 0 0 32px 0;
    }
    .for-who-body p{
        font-size: 18px;
        margin: 0 0 16px 0;
    }
    .for-who-item ul li{
        font-size: 16px;
        margin-bottom: 24px;
    }
    .for-who-body button{
        padding: 0;
    }
    .section-how-to{
        padding: 64px 0;
    }
    .section-how-to ol{
        margin: 389px 0 48px 0;
        padding-left: 72px;
    }
    .section-how-to .container-wrapper:after{
        width: 320px;
        height: 277px;
        background-size: contain;
        background-repeat: no-repeat;
        top: 78px;
        left: 0;
    }
    .section-how-to ol li{
        margin-bottom: 60px;
    }
    .section-how-to ol li:before{
        width: 53px;
        height: 53px;
        font-size: 24px;
        z-index: 2;
    }
    .section-how-to ol li:last-child{
        margin-bottom: 0;
    }
    .section-how-to ol li:after {
        height: 115px;
        left: -47px;
        z-index: 1;
        bottom: -81px;
    }
    .section-slider-interior{
        padding: 128px 0 64px 0;
    }
    .interior-slider-wrapper {
        width: 300px;
    }

    .interior-slider-wrapper a {
        width: calc(50% - 8px);
        box-shadow: none;
        border-radius: 10px;
        margin: 4px;
    }
    .interior-slider-wrapper a:nth-child(3) {
        width: calc(100% - 8px);
    }
    .interior-slider-wrapper.reverse a:nth-child(1) {
        width: calc(100% - 8px);
    }
    .interior-slider-wrapper.reverse a:nth-child(3) {
        width: calc(50% - 8px);
    }
    .section-slider-interior h2{
        text-align: left;
        margin-bottom: 48px;
    }
    .section-invest{
        padding: 64px 0;
    }
    .section-invest h2{
        text-align: left;
    }
    .invest-item{
        width: 300px;
        margin-right: 16px;
        padding: 48px 20px 40px 20px;
        box-shadow: none;
    }
    .invest-list{
        width: 100vw;
        left: 0;
        position: relative;
        margin: 48px 0;
    }
    .invest-item h4 {
        font-size: 20px;
    }
    .invest-item > strong{
        font-size: 36px;
    }
    .slick-dotted.slick-slider.invest-list{
        margin-bottom: 78px;
    }
    .slick-dotted.slick-slider.list-packages{
        margin-bottom: 78px;
    }
    .section-partners, .section-packages{
        padding: 64px 0;
    }
    .section-reviews{
        padding: 64px 0 128px 0;
    }
    .section-packages .subheader{
        text-align: left;
        font-size: 18px;
        margin-bottom: 48px;
    }
    .section-packages h2{
        text-align: left;
    }
    .list-packages{
        width: 100vw;
        position: relative;
        left: 0;
    }
    .package-item{
        margin-right: 16px;
        padding: 48px 20px;
        box-shadow: none;
    }
    .package-item:hover{
        box-shadow: none;
    }
    .slick-initialized .slick-slide.package-item{
        display: flex;
    }
    .package-item h4{
        font-size: 20px;
        margin: 0 0 42px 0;
    }
    .package-item .info-cost{
        font-size: 28px;
    }
    .list-partners{
        margin: 48px -8px 0 -8px;
        align-items: flex-start;
        justify-content: center;
    }
    .list-partners img{
        width: 152px;
        margin: 8px;
    }
    .section-reviews h2{
        text-align: left;
    }
    .reviews-slider-item{
        padding: 0;
        margin-right: 20px;
    }
    .reviews-slider-item-wrapper{
        width: 320px;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: none;
        min-height: auto;
    }
    .slider-reviews-wrapper{
        width: 100%;
        margin-top: 48px;
    }
    .reviews-slider-item-wrapper .review-image img{
        width: 68px;
        margin-right: 16px;
    }
    .reviews-slider-item-wrapper h3{
        font-size: 18px;
        margin: 0;
    }
    .reviews-slider-item-wrapper .review-image h3 > span{
        color: #000000;
        line-height: 120%;
        margin: 12px 0 0 0;
    }
    .reviews-slider-item-wrapper .review-body{
        margin: 24px 0 0 0;
    }
    .section-feedback{
        padding: 64px 0;
    }
    .section-feedback:after{
        display: none;
    }
    .feedback-items{
        margin: 48px 0;
    }
    .section p{
        margin: 0 0 36px 0;
    }
    .section-feedback .button-request{
        min-width: 100%;
    }
    .feedback-items p > img{
        margin-right: 16px;
    }
    .section-faq{
        padding: 128px 0;
    }
    .faq-list{
        margin-top: 24px;
    }
    .faq-list-item{
        padding: 20px 12px 20px 20px;
    }
    .faq-list-item-question {
        font-size: 16px;
        line-height: 120%;
    }
    .faq-list-item-answer{
        margin: 32px 0 12px 0;
        font-size: 14px;
    }
    .under-footer{
        flex-direction: column;
        margin-top: 32px;
    }
    .under-footer .footer-column{
        margin-left: 0;
    }
    footer{
        padding: 48px 0 0 0;
    }
    .logo-footer{
        width: 189px;
    }
    .footer-column{
        margin-bottom: 48px;
    }
    .under-footer p{
        font-size: 16px;
    }
    .footer-column:nth-child(1){
        order: 2;
    }
    .footer-column:nth-child(2){
        order: 1;
    }
    .footer-column:nth-child(3){
        order: 3;
    }
    .under-footer .subhead{
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 24px;
    }
    .under-footer p.no-margin{
        margin-bottom: 6px;
    }
    .under-footer a.subhead{
        font-size: 22px;
        font-weight: 600;
        margin-bottom: 12px;
    }
    .footer-column:nth-child(1) a{
       font-size: 14px;
    }
    .under-footer p.requisites{
        font-size: 14px;
    }
    .align-middle-cell a:first-child .number:before{
        display: none;
    }
    .align-middle-cell{
        text-align: center;
    }
    .align-middle-cell .number{
        font-weight: 600;
        font-size: 18px;
        line-height: 130%;
    }
    .align-middle-cell .time{
        font-size: 12px;
        line-height: 150%;
        margin-bottom: 3px;
    }
    .header-phone{
        margin-top: 13px;
    }
    .header-mobile-menu{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 20px;
    }
    .header-mobile-menu > a{
        font-weight: 400;
        text-decoration: none;
        font-size: 16px;
        line-height: 140%;
        color: #000000;
        margin-bottom: 24px;
    }
    .close-gamburger{
        width: 25px;
        height: 25px;
        cursor: pointer;
        display: block;
        position: absolute;
        right: calc(50% - 172px);
        top: 20px;
        transform: translate(-50%);
    }
    .close-gamburger img{
        width: 100%;
    }
    .header-country-list{
        transform: translate(50%, 100%);
        right: 50%;
    }
    .openedPopup{
        margin-right: 0;
    }
    .interior-slider-container{
        width: 100vw;
    }
    .package-item .choose-package{
        margin: auto auto 0 auto;
    }
}
@media (max-width: 567px) {
    .container{
        max-width: 320px;
    }
}